package com.aaa.dao;


import com.aaa.entity.CheckTeacher;
import com.aaa.entity.EduTeacher;
import com.aaa.entity.TbCheckTeacher;
import com.aaa.vo.TbCheckTeacherVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.eig.common.vo.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 李双奇
 * @Date: 2022/12/13/20:45
 * @Description:
 */

public interface TbCheckTeacherDao extends BaseMapper<EduTeacher> {

    List<CheckTeacher> findByTeacherCheckPage(Integer current, Integer pageSize, @Param("teacherVo") TbCheckTeacherVo tbCheckTeacherVo);

    Integer count(TbCheckTeacherVo tbCheckTeacherVo);

    Integer updataCheckTeacher(EduTeacher eduTeacher);

    Integer updateTeacherCheckstatus(@Param(value = "checkTeacher") CheckTeacher checkTeacher);
}
